package server

type Server interface {
}

const (
	ModeDebug   = "debug"
	ModeTest    = "test"
	ModeRelease = "release"

	ConsoleTarget = "console"
	FileTarget    = "file"
)

type Option struct {
	General GeneralConfig
	Log     LogConfig
}

type GeneralConfig struct {
	Port int
	Mode string
}

type LogConfig struct {
	Target         string
	Level          string
	FilePath       string
	RotateDuration int64
	ExpireDuration int64
}

type Request interface {
	GetParams()
}

type Response interface {
}
